//
//  YFDongtaiModel.h
//  project
//
//  Created by yefei on 2019/4/15.
//  Copyright © 2019 健健. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YFDongtaiFileModel : NSObject

@property (nonatomic, copy) NSString *url;
@property (nonatomic, copy) NSString *fileType;
@property (nonatomic, copy) NSString *thumbnail;
@property (nonatomic, assign) NSInteger duration;

@end

@interface YFDongtaiRecordModel: NSObject

@property (nonatomic, copy) NSString *albumId;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *praiseAmount;
@property (nonatomic, copy) NSString *likeAmount;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *longitude;
@property (nonatomic, copy) NSString *latitude;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *isPraise;
@property (nonatomic, strong) NSArray <YFDongtaiFileModel *> *files;
@property (nonatomic, copy) NSString *reviewAmount;
#pragma mark - 自定义属性
@property (nonatomic, assign) BOOL isImage;
@property (nonatomic, copy) NSString  *previewImageName;

@end

@interface YFDongtaiModel : NSObject

@property (nonatomic, assign) NSInteger total;
@property (nonatomic, assign) NSInteger size;
@property (nonatomic, assign) NSInteger current;
@property (nonatomic, assign) NSInteger pages;
@property (nonatomic, assign) BOOL searchCount;
@property (nonatomic, strong) NSArray <YFDongtaiRecordModel *> *records;

@end

